package com.zzxy.service.impl;

import com.zzxy.service.IMemberService;
import org.springframework.stereotype.Service;

@Service
public class MemberServiceImpl implements IMemberService {
    @Override
    public void addMember() {
        System.out.println("add member success ...");
    }

    @Override
    public String deleteMember(int memberId) {
        int i = 1 / 0;
        System.out.println("delete member success ...");
        return "zhangsanfeng";
    }

    @Override
    public void upadtember() {
        System.out.println("update member success ...");
    }
}
